package com.bjtg.threegoclinet.base;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import com.bjtg.threegoclinet.bean.ParameterSet;

/**
 * Created by 86463
 * Created time: 2018/3/19/15:04
 */

public class ParseJsonParameterSet {
    public static ParameterSet getParameterSet(String jsonStr){
        ParameterSet parameterSet = new ParameterSet();
        parameterSet = JSON.parseObject(jsonStr,new TypeReference<ParameterSet>(){});
        return parameterSet;
    }
}
